#ifndef _I_API_RENDER_TARGET_VIEW_H_
#define _I_API_RENDER_TARGET_VIEW_H_

#include "../interface/I_api_View.h"

#define  E_API_SIMULTANEOUS_RENDER_TARGET_COUNT 8

class I_api_RenderTargetView : public I_api_View
{
protected:

	S_api_RenderTargetView_Desc m_Desc;

	I_api_RenderTargetView(I_api_Resource * pResource, const S_api_RenderTargetView_Desc * pDesc,  I_api_Device * pDevice) : 
				 I_api_View(pResource, pDevice) {	m_Desc = *pDesc; }
public:
	~I_api_RenderTargetView() {}

	void	GetDesc(S_api_RenderTargetView_Desc * pDesc) { if (pDesc) *pDesc = m_Desc; } 

	virtual	void	*	Get()=0;
};

#endif